<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>管理导航</title>

<load href="__ROOT__/js/main/prototype.lite.js" />
<load href="__ROOT__/js/main/moo.fx.js" />
<load href="__ROOT__/js/main/moo.fx.pack.js"/>
<load href="__ROOT__/css/main/left.css" />
</head>

<body>
<table width="100%" height="280" border="0" cellpadding="0" cellspacing="0" bgcolor="#EEF2FB">
  <tr>
    <td width="182" valign="top">
       <include file="main:left_top" />
       <?php
    $System=D('System');
    if($System->check_qx($_SESSION['qx_id'],4,1)){
    ?>
      <h1 class="type"><a href="javascript:void(0)">我的办公桌</a></h1>
      <div class="content">
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td><img src="__ROOT__/images/admin_login/menu_topline.gif" width="182" height="5" /></td>
          </tr>
        </table>
        <ul class="MM">
        <?php
            if($System->check_qx($_SESSION['qx_id'],4,4)) echo '<li><a href="'.U('ppts/create_stuinfo').'" target="right">内部邮件</a></li>';
            if($System->check_qx($_SESSION['qx_id'],4,8)) echo '<li><a href="'.U('ppts/create_stuinfo').'" target="right">公告通知</a></li>';
            if($System->check_qx($_SESSION['qx_id'],4,16)) echo '<li><a href="'.U('ppts/create_stuinfo').'" target="right">新闻</a></li>';
            if($System->check_qx($_SESSION['qx_id'],4,32)) echo '<li><a href="'.U('ppts/create_stuinfo').'" target="right">个人文件柜</a></li>';
            if($System->check_qx($_SESSION['qx_id'],4,2)) echo '<li><a href="'.U('ppts/create_stuinfo').'" target="right">工作日志</a></li>';
        ?>
        </ul>
      </div>
      <?php
      }
      ?>



       <?php
    $System=D('System');
    if($System->check_qx($_SESSION['qx_id'],3,1)){
    ?>
      <h1 class="type"><a href="javascript:void(0)">PPTS</a></h1>
      <div class="content">
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td><img src="__ROOT__/images/admin_login/menu_topline.gif" width="182" height="5" /></td>
          </tr>
        </table>
        <ul class="MM">
        <?php
            if($System->check_qx($_SESSION['qx_id'],3,2)) echo '<li><a href="'.U('ppts/create_stuinfo').'" target="right">咨询师-建立学员档案</a></li>';
            if($System->check_qx($_SESSION['qx_id'],3,4)) echo '<li><a href="'.U('ppts/manger_stuinfo').'" target="right">咨询师-学员档案管理</a></li>';
            if($System->check_qx($_SESSION['qx_id'],3,8)) echo '<li><a href="'.U('ppts/zixun_tongji').'" target="right">咨询师-自我统计</a></li>';
            if($System->check_qx($_SESSION['qx_id'],3,32768)) echo '<li><a href="'.U('ppts/zx_input_hetong_stu_manger').'" target="right">咨询师-签约学员管理</a></li>';
            if($System->check_qx($_SESSION['qx_id'],3,16)) echo '<li><a href="'.U('ppts/zx_view_rexianshangmen').'" target="right">咨询师-热线上门信息查看</a></li>';
            //if($System->check_qx($_SESSION['qx_id'],3,16)) echo '<li><a href="'.U('ppts/fgs_stuinfo_shenhe').'" target="right">分公司学员档案审核</a></li>';

            if($System->check_qx($_SESSION['qx_id'],3,524288)) echo '<li><a href="'.U('ppts/xj_huaizhang_shenhe').'" target="right">校监-坏账审核</a></li>';
            if($System->check_qx($_SESSION['qx_id'],3,1048576)) echo '<li><a href="'.U('ppts/cw_huaizhang_shenhe').'" target="right">财务-坏账审核</a></li>';
            if($System->check_qx($_SESSION['qx_id'],3,2097152)) echo '<li><a href="'.U('ppts/zxzhuren_huaizhang_shenhe').'" target="right">咨询主任-坏账审核</a></li>';
            if($System->check_qx($_SESSION['qx_id'],3,4194304)) echo '<li><a href="'.U('ppts/zjl_huaizhang_shenhe').'" target="right">总经理-坏账审核</a></li>';

            if($System->check_qx($_SESSION['qx_id'],3,65536)) echo '<li><a href="'.U('ppts/qt_input_rexianshangmen').'" target="right">校区热线上门情况录入</a></li>';
            if($System->check_qx($_SESSION['qx_id'],3,131072)) echo '<li><a href="'.U('ppts/qt_rexianshangmen_manger').'" target="right">校区热线上门情况管理</a></li>';
            if($System->check_qx($_SESSION['qx_id'],3,262144)) echo '<li><a href="'.U('ppts/fgs_rexianshangmen_manger').'" target="right">分公司校区热线上门情况管理</a></li>';



            if($System->check_qx($_SESSION['qx_id'],3,67108864)) echo '<li><a href="'.U('ppts/qt_xufei_stu_manger').'" target="right">前台-续费学员管理</a></li>';

            if($System->check_qx($_SESSION['qx_id'],3,33554432)) echo '<li><a href="'.U('ppts/xgzr_stu_manger').'" target="right">学管主任-校区签约学员管理</a></li>';




            if($System->check_qx($_SESSION['qx_id'],3,16777216)) echo '<li><a href="'.U('ppts/xj_xiaoqu_tongji').'" target="right">校区-各项业绩统计</a></li>';

            if($System->check_qx($_SESSION['qx_id'],3,32)) echo '<li><a href="'.U('ppts/qt_no_input_ht_stu').'" target="right">前台-新签学员管理</a></li>';

            if($System->check_qx($_SESSION['qx_id'],3,256)) echo '<li><a href="'.U('ppts/jw_qianyue_stu_manger').'" target="right">教务-签约学员管理</a></li>';
            if($System->check_qx($_SESSION['qx_id'],3,2048)) echo '<li><a href="'.U('ppts/jw_input_keshidan').'" target="right">教务-录入课时单</a></li>';
            if($System->check_qx($_SESSION['qx_id'],3,8192)) echo '<li><a href="'.U('ppts/jw_keshidan_manger').'" target="right">教务-课时单管理</a></li>';

            if($System->check_qx($_SESSION['qx_id'],3,512)) echo '<li><a href="'.U('ppts/fgs_xufei_hetong_shenhe').'" target="right">分公司-续费合同审核</a></li>';
            if($System->check_qx($_SESSION['qx_id'],3,64)) echo '<li><a href="'.U('ppts/fgs_xufei_shoukuan_shenhe').'" target="right">分公司-续费收款审核</a></li>';
            if($System->check_qx($_SESSION['qx_id'],3,1024)) echo '<li><a href="'.U('ppts/xg_jiedang_stu_manger').'" target="right">学管-接档学员管理</a></li>';
            if($System->check_qx($_SESSION['qx_id'],3,4096)) echo '<li><a href="'.U('ppts/fgs_data_tongji').'" target="right">分公司数据统计</a></li>';
            
            if($System->check_qx($_SESSION['qx_id'],3,16384)) echo '<li><a href="'.U('ppts/fgs_shoukuan_shenhe').'" target="right">财务-分公司收款审核</a></li>';
            if($System->check_qx($_SESSION['qx_id'],3,8388608)) echo '<li><a href="'.U('ppts/fgs_newht_shenhe').'" target="right">分公司-新签合同审核</a></li>';
            

            if($System->check_qx($_SESSION['qx_id'],3,128)) echo '<li><a href="'.U('ppts/config_kecheng_jiage').'" target="right">课程价格设置</a></li>';
            

        ?>
        </ul>
      </div>
      <?php
      }
      ?>





       <?php
    $System=D('System');
    if($System->check_qx($_SESSION['qx_id'],2,1)){
    ?>
      <h1 class="type"><a href="javascript:void(0)">公共事务</a></h1>
      <div class="content">
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td><img src="__ROOT__/images/admin_login/menu_topline.gif" width="182" height="5" /></td>
          </tr>
        </table>
        <ul class="MM">
          <?php
          if($System->check_qx($_SESSION['qx_id'],2,2)) echo '<li><a href="'.U('news/index').'" target="right">新闻管理</a></li>';
          if($System->check_qx($_SESSION['qx_id'],2,4)) echo '<li><a href="'.U('news/index').'" target="right">公告通知管理</a></li>';
          if($System->check_qx($_SESSION['qx_id'],2,2)) echo '<li><a href="'.U('news/index').'" target="right">新闻管理</a></li>';
          ?>
        </ul>
      </div>
      <?php
      }
      ?>


    <?php
    $System=D('System');
    if($System->check_qx($_SESSION['qx_id'],1,1)){
    ?>
      <h1 class="type"><a href="javascript:void(0)">系统管理</a></h1>
      <div class="content">
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td><img src="__ROOT__/images/admin_login/menu_topline.gif" width="182" height="5" /></td>
          </tr>
        </table>
        <ul class="MM">
          <?php
          if($System->check_qx($_SESSION['qx_id'],1,2)) echo '<li><a href="'.U('bumen/index').'" target="right">部门管理</a></li>';
          if($System->check_qx($_SESSION['qx_id'],1,4)) echo '<li><a href="'.U('user/index').'" target="right">用户管理</a></li>';
          if($System->check_qx($_SESSION['qx_id'],1,8)) echo '<li><a href="'.U('quanxian/index').'" target="right">权限组管理</a></li>';
          ?>
        </ul>
      </div>
      <?php
      }
      ?>


<!--      <h1 class="type"><a href="javascript:void(0)">系统管理</a></h1>
      <div class="content">
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td><img src="__ROOT__/images/admin_login/menu_topline.gif" width="182" height="5" /></td>
          </tr>
        </table>
        <ul class="MM">
          <li><a href="{:U('sysmanger/admin')}" target="main">用户管理用户管理用户管理</a></li>
          <li><a href="{:U('sysmanger/add_admin')}" target="main">添加用户</a></li>
          <li><a href="{:U('sysmanger/edit_pwd')}" target="main">修改密码</a></li>
        </ul>
      </div>-->

      

      

      
      

        <script type="text/javascript">
		var contents = document.getElementsByClassName('content');
		var toggles = document.getElementsByClassName('type');
	
		var myAccordion = new fx.Accordion(
			toggles, contents, {opacity: true, duration: 400}
		);
		myAccordion.showThisHideOpen(contents[0]);
	</script>
        </td>
  </tr>
</table>
</body>
</html>
